﻿using SovaDataService.SoModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace SovaWebService.ViewModels
{
    public class QuestionDetailsVM
    {
        public string Id { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
        public int Score { get; set; }
        public string QuestionUrl { get; set; }
        public int AnswersCount { get; set; }
        public int CommentsCount { get; set; }

        public string AuthorName { get; set; }
        //public string AuthorUrl { get; set; }

        public AnswerVM AcceptedAnswer { get; set; }

        public ICollection<AnswerVM> Answers { get; set; }
        public ICollection<CommentVM> Comments { get; set; }
    }
}
